<%@page import="com.yurendao.shop.user.domain.User"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>BookList</title>
        <link rel="stylesheet" href="bootstrap.min.css"/>
        <link rel="stylesheet" href="book.css"/>
    </head>
    
    <body  id="book-list-page" style="background-image:url(../img/d.jpg);background-position:center; background-repeat:repeat-y">
        <div class="text" style=" text-align:center;">
            <%User u = (User)(request.getSession().getAttribute("loginUser"));
            if(u==null){
                request.getSession().setAttribute("message", "请先登录!");
                response.sendRedirect("jsp/errorPage.jsp");
            }
            %>
            <h1 class="title">欢迎<a><%=u.getNickname()%></a>使用图书管理系统</h1>       
    </body>
</html>
